package com.mo.ld.activity.interactive

import android.view.View
import com.mo.ld.databinding.ItemMainBinding
import com.mo.lib.constans.AOP_TAG_CLICK
import com.mo.lib.constans.AOP_TAG_GPS_DIALOG
import com.mo.lib.constans.AOP_TAG_NET
import com.mo.lib.ui.activity.BaseVbActivity
import com.mo.lib.utils.KLog
import com.mo.lib.utils.showToast
import com.xuexiang.xaop.annotation.Intercept


/**
 * @ author：mo
 * @ data：2021/9/26:15:21
 * @ 功能：
 */
class AopActivity : BaseVbActivity<ItemMainBinding>() {



    override fun initData() {
    }

//    override fun onClickView(view: View) {
//        super.onClickView(view)
//        KLog.i("onClickView")
//        showToast("点击了")
//    }
//    @Permission(PermissionConstants.LOCATION)
    @Intercept(AOP_TAG_NET, AOP_TAG_GPS_DIALOG, AOP_TAG_CLICK)
    override fun onClickView(view: View) {
        super.onClickView(view)
    KLog.i("onClickView")
        showToast("点击了")
    }
}